/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package customer_cmds;


import appClientHandler.AUPBeanRemote;
import appClientHandler.AUPCustomerRemote;
import appClientHandler.LoginResult;
import appClientHandler.Output;
import commands.CartCommand;
import commands.CommandAbstractAction;
import commands.ProductCommand;
import customer_jdom.AccountJDOM;
import customer_jdom.ProductJDOM;
import entities.Cart;
import entities.Commande;
import entities.Product;
import general.OptionBase;
import general.OptionName;

import java.util.List;

/**
 *
 * eCOM - Adopte un Presta - Mars-Avril 2013
 * @author Kheira, Jef, William, Tuan-Long
 */
public class ProductConsoleCommand extends ProductCommand {

    protected AUPBeanRemote aupBeanRemote;
    private ProductJDOM productJDOM;

    public ProductConsoleCommand(AUPBeanRemote aupCustomerRemote) 
    {
        super();
        this.aupBeanRemote = aupCustomerRemote;
        this.productJDOM = new ProductJDOM();
    }

    @Override
    public void defaultAction() 
    {
        super.defaultAction();
    }

    @Override
    public void likeAction() 
    {
        super.likeAction();
    }

    @Override
    public void nameAction() 
    {
        super.nameAction();
    }

    @Override
    public void priceAction() 
    {
        super.priceAction();
        List<Product> products;
   
    }

    @Override
    public void storeAction() 
    {
        super.storeAction();

    }

    private void print(List<Product> products)
    {
        productJDOM.print(this.getOut(), products, this.aupBeanRemote.getOutput());
    }    
}
